package com.itheima.hmshopping.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.hmshopping.entity.SmsCoupon;

public interface SmsCouponServiceApi {

    Page list(String name, Integer pageNum, Integer pageSize, String type);


    void insert(SmsCoupon smsCoupon);

    void delect(Integer id);

    //id查询
    SmsCoupon selectById(Integer id);

    //更新优惠劵
    void update(SmsCoupon smsCoupon);
}
